package net.ojbk.study.curriculumDesign.beans.canvasmodel;

import java.util.Date;

public class Message {
    private int mid;
    private String uid;
    private int cid;
    private String username;
    private Date createTime;
    private String msgcontent;

    public Message() {
    }


    public Message(int mid, String uid, int cid, String msgcontent) {
        this.mid = mid;
        this.uid = uid;
        this.cid = cid;
        this.msgcontent = msgcontent;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getMsgcontent() {
        return msgcontent;
    }

    public void setMsgcontent(String msgcontent) {
        this.msgcontent = msgcontent;
    }
}
